package com.xiaoma.factory.abstr;

import com.xiaoma.factory.Maj;
import com.xiaoma.factory.Mengniu;
import com.xiaoma.factory.Milk;
import com.xiaoma.factory.Sanlu;
import com.xiaoma.factory.Telunsu;
import com.xiaoma.factory.Yili;

/**
 * Created by Tom on 2018/3/4.
 */
public class MilkFactory extends  AbstractFactory {


    @Override
    public Milk getMengniu() {
        return new Mengniu();
    }

    @Override
    public Milk getYili() {
        return new Yili();
    }

    @Override
    public Milk getTelunsu() {
        return new Telunsu();
    }

    @Override
    public Milk getSanlu() {
        return new Sanlu();
    }
    
    @Override
    public Milk getMaj(){
        return new Maj();
    }
}
